﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using TyMES.Model.BaseInformation;
using TyMES.Model;

namespace TyMES.ViewModel.BaseInformation.LMESBadCodeTemplateVMs
{
    public partial class LMESBadCodeTemplateBatchVM : BaseBatchVM<LMESBadCodeTemplate, LMESBadCodeTemplate_BatchEdit>
    {
        public LMESBadCodeTemplateBatchVM()
        {
            ListVM = new LMESBadCodeTemplateListVM();
            LinkedVM = new LMESBadCodeTemplate_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class LMESBadCodeTemplate_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._LMESBadCodeTemplate._LMESBadDescription")]
        public string LMESBadDescription { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._OperationCode")]
        public string OperationCode { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._BadCode")]
        public string BadCode { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._BadName")]
        public string BadName { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._BadTypeCode")]
        public string BadTypeCode { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._BadTypeName")]
        public string BadTypeName { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._AddTime")]
        public DateTime? AddTime { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._DataStatus")]
        public string DataStatus { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._EditTime")]
        public DateTime? EditTime { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._EnableStatus")]
        public string EnableStatus { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._FactoryCode")]
        public string FactoryCode { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._Field1")]
        public string Field1 { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._Field2")]
        public string Field2 { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._Field3")]
        public string Field3 { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._Field4")]
        public string Field4 { get; set; }
        [Display(Name = "_Model._LMESBadCodeTemplate._Field5")]
        public string Field5 { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}